package com.todo.member.infrastructure.mapper;

import com.todo.member.infrastructure.entity.po.MemberInfoPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author azhebuxing
 * @date 2025/1/21 16:20
 * @description
 */
@Mapper
public interface MemberInfoMapper {
    int insertMemberInfo(MemberInfoPO memberInfoPO);

    MemberInfoPO queryMemberInfoByUserId(@Param("userId") Long userId);

    int removeMemberInfoByUserId(@Param("userId") Long userId);

    int updateMemberInfo(MemberInfoPO memberInfoPO);

    MemberInfoPO queryMemberInfoPOById(@Param("id") Long id);
}
